package com.woniuxy.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 订单管理表
 * @TableName t_order
 */
@TableName(value ="t_order")
@Data
public class Order implements Serializable {
    /**
     * 主键ID
     */
    @TableId(type = IdType.AUTO)
    private Long id;

    /**
     * 订单编号
     */
    private String orderNumber;

    /**
     * 订单商品
     */
    private String productName;

    /**
     * 订单金额
     */
    private BigDecimal orderAmount;

    /**
     * 下单时间
     */
    private Date orderTime;

    /**
     * 用户账号
     */
    private String userAccount;

    /**
     * 订单来源
     */
    private String orderSource;

    /**
     * 支付方式
     */
    private String paymentMethod;

    /**
     * 订单状态
     */
    private Integer orderStatus;

    private Integer deleted;

    private String description;

    private Long addressId;
    private Double fee;
    private Integer numbers;


    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}
